package com.sc.dal.dto.goods;

import java.util.ArrayList;
import java.util.List;

import com.sc.dal.model.goods.GoodsClass;
import com.sc.dal.model.system.FormMap;

/**
 * 参数实体类
 * @author xiongyong
 * @日期 Mar 23, 2017 5:01:20 PM
 */
//@TableSeg(tableName = "t_goods_class",id="id")
public class GoodsClassMap extends FormMap<String,Object>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

    private Integer id;

    private String code;

    private String name;

    private Integer parentId;

    private String isEndNode;

    private Byte depth;

    private String creater;

    private String modifier;

    private String createTime;

    private String modifyTime;

    private String isDelete;
    
    private String status;
    
    private List<GoodsClass> children = new ArrayList<GoodsClass>();

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getIsEndNode() {
        return isEndNode;
    }

    public void setIsEndNode(String isEndNode) {
        this.isEndNode = isEndNode == null ? null : isEndNode.trim();
    }

    public Byte getDepth() {
        return depth;
    }

    public void setDepth(Byte depth) {
        this.depth = depth;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater == null ? null : creater.trim();
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete == null ? null : isDelete.trim();
    }
    
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public List<GoodsClass> getChildren() {
		return children;
	}

	public void setChildren(List<GoodsClass> children) {
		this.children = children;
	}
    
    

	
}
